package com.generator.purchaseManage.brandManage.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@Component
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class CBrand {

  private Integer brandId;
  private String brandName;
  private Integer brandStatus;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-M-d 13:17:41")
  private Date createTime;
  private Integer createId;
  @TableField("UNAME")
  private String createName;




}
